package com.book.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.book.app.dao.UsersDao;
import com.book.app.entity.Users;
import com.book.app.service.UsersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (Users)表服务实现类
 *
 * @author wjy
 * @since 2021-09-22 08:48:13
 */
@Service("usersService")
public class UsersServiceImpl extends ServiceImpl<UsersDao, Users> implements UsersService {
    @Resource
    private UsersDao usersDao;

    @Override
    public Users login(String username) {
        return usersDao.login(username);
    }
}

